<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="javascript:void(0);">麦珠宝统一配置中心</a>
    </div>
    <ul class="nav navbar-top-links navbar-right">
        <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                <i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
            </a>
            <ul class="dropdown-menu dropdown-messages">
                <li>
                    <a href="${basePath}/notices">
                        <div>
                            <strong>访问配置异常数量</strong>
                            <span class="pull-right text-muted">
		                                <em>昨天</em>
		                            </span>
                        </div>
                        <div id="failNumber"></div>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <div>
                            <strong>192.168.1.1</strong>
                            <span class="pull-right text-muted">
		                                <em>昨天</em>
		                            </span>
                        </div>
                        <div>访问xxx配置失败!</div>
                    </a>
                </li>
                <li class="divider"></li>
                <li>
                    <a class="text-center" href="${basePath}/notices">
                        <strong>查看所有消息</strong>
                        <i class="fa fa-angle-right"></i>
                    </a>
                </li>
            </ul>
        </li>
        <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
            </a>
            <ul class="dropdown-menu dropdown-user">
                <li><a href="login.html"><i class="fa fa-sign-out fa-fw"></i>登出</a>
                </li>
            </ul>
        </li>
    </ul>
    <div class="navbar-default sidebar" role="navigation">
        <div class="sidebar-nav navbar-collapse">
            <ul class="nav" id="side-menu">
                <li>
                    <a href="${basePath}/dashboard"><i class="fa fa-dashboard fa-fw"></i>仪表盘</a>
                </li>
                <li>
                    <a href="${basePath}/configs4system"><i class="fa fa-sitemap fa-fw"></i>统一系统配置</a>
                </li>
                <li>
                    <a href="${basePath}/clients"><i class="fa fa-table fa-fw"></i>接入客户端列表</a>
                </li>
                <li>
                    <a href="${basePath}/notices"><i class="fa fa-bell fa-fw"></i>配置读取异常消息</a>
                </li>
            </ul>
        </div>
    </div>
</nav>